﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TT.Module.sysLogin;
using Exp.BillDLL.dao;
using System.Data;
using Exp.BillDLL.ety;
using Bill.BasDLL.ety;

namespace Exp.BillDLL.biz
{
    public class bizExpDetail
    {
        etyBaeSystemParamter basSysParam;
        daoExpDetail doExpDetail;

        public bizExpDetail(etyBaeSystemParamter ieyBasClassDeclare)
        {
            basSysParam = ieyBasClassDeclare;
            doExpDetail = new daoExpDetail(basSysParam);
        }

        public IList<etyTmYmsYD> GetDetailPage(etyTmYmsYD inEty)
        {
            DataTable dt = doExpDetail.GetDetailPage(inEty);
            IList<etyTmYmsYD> ilRusult = TT.Common.Converts.ConvertToIList<etyTmYmsYD>(dt);
            return ilRusult;
        }


        public IList<etyBillPrice> GetDetailPriceSeq(etyTmYmsYD inEty)
        {
            DataTable dt = doExpDetail.GetDetailPriceSeq(inEty);
            IList<etyBillPrice> ilRusult = TT.Common.Converts.ConvertToIList<etyBillPrice>(dt);
            return ilRusult;
        }
    }
}
